/*******************************************************
> Copyright (C) 2024 ==IOT== All rights reserved.
> File Name: obj.cpp
> Author: IOT
> Website:www.slq.org
> Created Time: 2024年10月25日 星期五 10时45分53秒
***************************************************/

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>

using namespace std;
class A {
	int n = 10;
	int m = 20;
};
int main(int argc,const char* argv[])
{
	A a;
	//cout << a.n << endl;	

	int *ptr = (int *)&a;

	cout << *ptr << endl; 
	cout << ptr[1] << endl; 
    return 0;
}

